package char

// CharNextNumChar 输入一个字母，类型为rune，输出其后第n个字母
func CharNextNumChar(runeChar rune, num int) string {
	baseNum := int(runeChar)
	return string(rune(baseNum + num))

}

// CharNextNumChar 输入一个字母，类型为rune，输出其前第n个字母
func CharLastNumChar(runeChar rune, num int) string {
	baseNum := int(runeChar)
	return string(rune(baseNum - num))

}

